package com.xmg.p2p.base.domain;

import java.util.HashMap;
import java.util.Map;

import com.alibaba.fastjson.JSONObject;

import lombok.Data;
import lombok.Getter;
import lombok.Setter;

/**
 * 数据字典分类
 *
 */
@Data
public class SystemDictionary extends BaseDomain{

	private String sn ; 
	private String title ;
	
	//供前台修改回显 
	public String getJsonString(){
		Map<String , Object> json = new HashMap<String,Object>();
		json.put("id", id);
		json.put("sn", sn);
		json.put("title", title);
		return JSONObject.toJSONString(json);
		
	}
	
	
}
